import request from '@/utils/request'

// 查询财务收入支出统计列表
export function listJyjcExpensesLs(query) {
  return request({
    url: '/system/JyjcExpensesLs/list',
    method: 'get',
    params: query
  })
}

// 查询财务收入支出统计详细
export function getJyjcExpensesLs(year) {
  return request({
    url: '/system/JyjcExpensesLs/' + year,
    method: 'get'
  })
}

// 新增财务收入支出统计
export function addJyjcExpensesLs(data) {
  return request({
    url: '/system/JyjcExpensesLs',
    method: 'post',
    data: data
  })
}

// 修改财务收入支出统计
export function updateJyjcExpensesLs(data) {
  return request({
    url: '/system/JyjcExpensesLs',
    method: 'put',
    data: data
  })
}

// 删除财务收入支出统计
export function delJyjcExpensesLs(year) {
  return request({
    url: '/system/JyjcExpensesLs/' + year,
    method: 'delete'
  })
}
